#ifndef PLURKSETTINGS_H
#define PLURKSETTINGS_H

#include <QObject>
#include <QStringList>
#include <QSettings>

class PlurkSettings : public QObject
{
  Q_OBJECT

public:
  PlurkSettings(QObject *parent = 0);

public:
  void storeCookies(const QString &name, const QVariant &value);
  const QVariant cookie(const QString &name);
  const QStringList cookieKeys();
  const QVariant oauthAppKey();
  const QVariant oauthAppSecret();
  static PlurkSettings *instance();

signals:

public slots:
  void storeOAuthKeys(const QString &appKey, const QString &appSecret);

private:
  QSettings inifile;

public:
  static PlurkSettings *_instance;
};

#endif // PLURKSETTINGS_H
